
public class Block {

	private int blockIndex;
	private int blockStartAddress;
	private boolean firstProgramStarted;
	private boolean programLoadingComplete;
	private int totalDiskBlocskUsed;
	
	public int getBlockIndex() {
		return blockIndex;
	}
	public void setBlockIndex(int blockIndex) {
		this.blockIndex = blockIndex;
	}
	public int getBlockStartAddress() {
		return blockStartAddress;
	}
	public void setBlockStartAddress(int blockStartAddress) {
		this.blockStartAddress = blockStartAddress;
	}
	public boolean isProgramLoadingComplete() {
		return programLoadingComplete;
	}	
	public void setProgramLoadingComplete(boolean programLoadingComplete) {
		this.programLoadingComplete = programLoadingComplete;
	}
	public boolean isFirstProgramStarted() {
		return firstProgramStarted;
	}
	public void setFirstProgramStarted(boolean firstProgramStarted) {
		this.firstProgramStarted = firstProgramStarted;
	}
	public int getTotalDiskBlocskUsed() {
		totalDiskBlocskUsed = blockIndex + 1;
		return totalDiskBlocskUsed;
	}
	public void setTotalDiskBlocskUsed(int totalDiskBlocskUsed) {
		this.totalDiskBlocskUsed = totalDiskBlocskUsed;
	}
	
	
}
